package com.acme.bankapp.domain.bank;

public abstract class AbstractAccount implements Account {

	public double balance;
	public double overdraft;

	public AbstractAccount(double initial, double overdraft) {
		this.balance = initial;
		this.overdraft = overdraft;
	}

	public AbstractAccount(double initial) {
		this.balance = initial;
	}

	public abstract void deposit(final double amount);

	public abstract void withdraw(final double amount);

	public abstract void getBalance();

	public abstract double maximumAmountToWithdraw();

}
